home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiniExamples / AppKit / PaginationLab / MyPageLayout.h < prev    next >
Text File  |  1995-06-12  |  781b  |  31 lines

  1. /* MyPageLayout.h
  2.  * Purpose: A subclass of the PageLayout panel that displays more of the
  3.  * information from NXApp's PrintInfo object.  If you add an accessory
  4.  * View to the PageLayout panel, you commonly need to subclass it to
  5.  * keep your fields in sync with the user's chosen units.
  6.  *
  7.  * You may freely copy, distribute, and reuse the code in this example.
  8.  * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
  9.  * fitness for any particular use.
  10.  */
  11. #import <appkit/appkit.h>
  12.  
  13. @interface MyPageLayout : PageLayout
  14. {
  15.     id    p1AccessoryView;
  16.     id    centerButtons;
  17.     id    vertButtons;
  18.     id    paginationButtons;
  19.     id    margins;
  20.     id    horButtons;
  21. }
  22.  
  23. /* Methods overridden from superclass */
  24.  
  25. - (int) runModal;
  26. - pickedUnits:sender;
  27. - readPrintInfo;
  28. - writePrintInfo;
  29.  
  30. @end
  31.